package com.gimi.cloud.jimi.manage.consumer.feign;

import com.gimi.cloud.jimi.common.utils.reqhead.Response;
import com.gimi.cloud.jimi.dto.product.LogisticsCompanyDTO;
import feign.Headers;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author chendi
 * @date 2018年1月18日
 */
@FeignClient(name = "jimi-manage-service")
public interface LogisticsFeignService {

	//物流公司信息
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "LogisticsCompany/pageList", method = RequestMethod.POST)
    Response LogisticsCompanypageList(LogisticsCompanyDTO dto);
    
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "LogisticsCompany/add", method = RequestMethod.POST)
    Response LogisticsCompanyAdd(LogisticsCompanyDTO dto);
    
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "LogisticsCompany/delete", method = RequestMethod.POST)
    Response deleteLogisticsCompany(LogisticsCompanyDTO dto);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "LogisticsCompany/getSingle", method = RequestMethod.POST)
    Response getSingleLogisticsCompany(LogisticsCompanyDTO dto);



}
